The mediating role of appraisal and coping in the relationship between optimism-pessimism and quality of life · Study