Diagnosis of generator stator winding insulation based on dissipation factor measurement