Detection of stator short circuits in inverter-fed induction motors