Hopelessness and perceived stress: the mediating role of cognitive flexibility and intolerance of uncertainty · Study