The central role of self-esteem in the quality of life of patients with mental disorders