Optical investigation of an AlGaN/GaN interface with the presence of a two-dimensional electron gas