Characterization of piezoelectric nanofibers for energy harvesting applications