Single-photon frequency conversion in nonlinear crystals