AlN piezoelectric films for sensing and actuation