Rigidity Transition in Chalcogenide Glasses