Thermal Homogenization of Electrical Machine Windings Applying the Multiple-Scales Method