Core losses in motor laminations exposed to high-frequency or nonsinusoidal excitation