A Rational Approach to the Design of Photocatalytic Reactors