Wide spectral photoresponse of template assisted out of plane grown ZnO/NiO composite nanowire photodetector