Frequency dependence of two-photon absorption in InSb and Hg 1-x Cd x Te