Adaptive Flux Observer for Induction Machines with On-Line Estimation of Stator and Rotor Resistances