Rigorous modeling of UV absorption by TiO2 films in a photocatalytic reactor