Optoelectronic characteristics of UV photodetector based on ZnO nanowire thin films