Oxygen deficiency in the electron-doped superconductor Nd2−xCexCuO4−y