Optimization of the thickness of a photocatalytic film on the basis of the effectiveness factor