Exchange interactions in rare earth chalcogenides