Effect of integrated palliative care on the quality of end-of-life care: retrospective analysis of 521 cancer patients