Review in thermal effects on the performance of electric motors