A reaction robot that tailors photocatalysis and separation technologies relevant for sustainable chemical production in a single device