Maximum-Torque Minimum-Time Speed Control Algorithm for Induction Motors with Flux and Rotor Dynamics