Colorimetric determination of sulfide using chitosan-capped silver nanoparticles