Relaxation properties of rare-earth ions in sulfide glasses: Experiment and theory