Spin correlations in the electron-doped high-transition-temperature superconductor Nd2-xCexCuO4±δ