Novel diagnosis of thermal deterioration for organic insulating resins by optical loss analysis