Relationship of cognition and psychopathology to functional impairment in schizophrenia.