TiO2 as a Photocatalyst for Water Splitting—An Experimental and Theoretical Review