Soliton propagation in the vicinity of a two-photon resonance