Single-photon-state generation from a continuous-wave nondegenerate optical parametric oscillator