Magnetic fluctuations in BaFe2−xNixAs2 superconductors