Highly aligned Cu2O/CuO/TiO2 core/shell nanowire arrays as photocathodes for water photoelectrolysis