Effect of dignity therapy on distress and end-of-life experience in terminally ill patients: a randomised controlled trial