Characterization and analysis of trap-related effects in AlGaN–GaN HEMTs