Detection of Stator Winding Stress Relief Coating Deterioration in Conventional and Inverter Fed Motors and Generators