Coping strategies among patients in a tertiary hospital: associations with quality of life and mental wellbeing