The relationship between pain management and psychospiritual distress in patients with advanced cancer following admission to a palliative care unit