Scalable synthesis and photoelectrochemical properties of copper oxide nanowire arrays and films