Gender as moderator in the relationship between coping strategies and quality of life