Adiabatic following in two-photon transition