Optimization of the Synthesis of Carbon Modified (CM)-n-TiO2, (CM)-n-Fe2O3, and (CM)-p-WO3 Semiconductors for Efficient Photoelectrochemical Splitting of Water