The effect of magnesium on partial sulphate removal from mine water as gypsum.