Excitonic photoluminescence and photoresponse of ZnS nanowires