Thermal and plasma damage in AlGaN Schottky diodes