A comparison between thermal lens and conventional optical spectroscopy for monitoring of a photocatalytic process