A randomised controlled trial of an advance care planning intervention for patients with incurable cancer