Design and evaluation of a compact photocatalytic reactor for water treatment