Hierarchical TiO2-CuInS2 core-shell nanoarrays for photoelectrochemical water splitting.