Failure mechanisms of GaN-based LEDs related with instabilities in doping profile and deep levels