AlGaN/GaN lateral polarity heterostructures