Resonantly two-photon pumped frequency converter