Residual strain effects on the two-dimensional electron gas concentration of AlGaN/GaN heterostructures