Piezoelectric effect enhancing decay time of p-NiO/n-ZnO ultraviolet photodetector