Copper oxide nanowires for efficient photoelectrochemical water splitting