Effect of non-stoichiometry on the magnetic properties of NiS2