Characterization of GaN-based metal-semiconductor field-effect transistors by comparing electroluminescence, photoionization, and cathodoluminescence spectroscopies