Instabilities and degradation in GaN-based devices