Fabrication and characterization of ZnO piezoelectric films for sensor devices