Development of porous ZnO thin films for enhancing piezoelectric nanogenerators and force sensors