Photoelectrochemical production of hydrogen: Engineering loss analysis