NiO/Ni/TiO2 nanocables with Schottky/p-n heterojunctions and the improved photocatalytic performance in water splitting under visible light.