A model for the thermal degradation of metal/(p-GaN) interface in GaN-based light emitting diodes