Effect of annealing temperature on the microstructure and optoelectrical properties of ZnO thin films and their application in self-powered accelerometers