Colorimetric detection of sulfide ions in water samples based on the in situ formation of Ag2S nanoparticles