Thermal lens detection in microfluidic chips