the metal ion that precipitates as a sulphide is