Magnetotransport study on the two-dimensional electron gas in AlGaN/GaN heterostructures