The effect of magnetic field on ion hydration and sulfate scale formation