Thermal lensing resulting from one- and two-photon absorption studied with a two-color time-resolved Z scan.