On the validity of the harmonic superposition principle for computing rotor eddy current losses in permanent magnet machines