Nanocomposite electrical generator based on piezoelectric zinc oxide nanowires