On-line stator and rotor resistance estimation for induction motors