Up-conversion with resonantly two-photon pumped atomic nonlinear media