Hot-electron trapping and luminescence in GaN-based GITs and HD-GITs: an extensive analysis