AlN texturing and piezoelectricity on flexible substrates for sensor applications