Nanostructured CuO with a thin g-C3N4 layer as a highly efficient photocathode for solar water splitting