Multiple-scattering calculation of sulfur K x-ray absorption spectra for FeS, CoS and NiS