Effects of spontaneous and piezoelectric polarization on AlInN/GaN heterostructure