Mg doping and native N vacancy effect on electronic and transport properties of AlN nanowires