Thermal lens spectrophotometry