Quality of life and cognitive dysfunction in people with schizophrenia