The influence of polarity of electrodeposited Cu2O thin films on the photoelectrochemical performance