Harmonic distortion in power stations due to ferroresonance