Model-Based Optimization of a Photocatalytic Reactor with Light-Emitting Diodes