Investigation of torque and torque ripple in dual three-phase permanent magnet synchronous machines for electric vehicles