Photoelectrodes for Solar Energy Conversion and Water Remediation