Palliative Performance Scale and survival in patients with cancer and non-cancer diagnoses needing a palliative care consultation: a retrospective cohort study