Photochemical and thermoelectric utilization of solar energy in a hybrid water-splitting system