The application of automated feedback and feedforward control to a LED-based photocatalytic reactor