Electrochemical growth and characterization of a p-Cu2O thin film on n-ZnO nanorods for solar cell application