Vertically aligned epitaxial KNbO3 nanorod array for piezoelectric energy harvester and second harmonic generator