Advance care planning for patients with advanced illnesses attending hospital outpatient clinics study: a study protocol for a randomised controlled trial