Factor structure of the Beck Hopelessness Scale in individuals with advanced cancer