Photoresistor based on ZnO nanorods grown on a p-type silicon substrate