Electrical Stress Estimation on Motor Windings Powered by PWM Inverters