Piezoelectric doping and elastic strain relaxation in AlGaN–GaN heterostructure field effect transistors