Survival of patients with severe mental disorders: Influence of social functioning