The effect of an educational palliative care intervention on the quality of life of patients with incurable cancer and their caregivers