Thermal lens spectrometry to study complex fluids