Solid-state architecture for an elevated-temperature photoelectrochemical cell