Automated self-optimization, intensification, and scale-up of photocatalysis in flow | Synapse