Doppler-free two-photon absorption with a near-resonant intermediate state