The effect of the radial and tangential electromagnetic stresses on the vibrations of synchronous machines