Energy and polarization dependence of resonant inelastic X-ray scattering in Nd{sub 2}CuO{sub 4}