Characterization of near-surface traps in semiconductors: GaN