Determination of formaldehyde with the thermal lens effect