Dielectric diagnosis of electrical equipment for AC applications and its effects on insulation coordination