Unified analysis of solid rotor induction and hysteresis motors