Strain relaxation correlated with the transport properties of AlN/GaN heterostructure grown by plasma-assisted molecular-beam epitaxy