A measurement system for photoelectrochemical processes with high quality irradiation, temperature control and automated gas analysis