A polymeric approach to the sulfide capacity of silicate melts and slags