Palliative care referral and associated outcomes among patients with cancer in the last 2 weeks of life