Hopelessness as a predictor of work functioning among patients with schizophrenia.