The conversion of PN-junction influencing the piezoelectric output of a CuO/ZnO nanoarray nanogenerator and its application as a room-temperature self-powered active H2S sensor