Spontaneous polarization and piezoelectric properties of AlN nanowires: Maximally localized Wannier functions analysis