Assessing anxiety and depression with respect to the quality of life in cancer inpatients receiving palliative care.