Polarization-balanced design of heterostructures: Application to AlN/GaN double-barrier structures