Failure analysis of electrical-thermal-optical characteristics of LEDs based on AlGaInP and InGaN/GaN