Self-efficacy for coping moderates the effects of distress on quality of life in palliative cancer care