Advance care planning for the severely ill in the hospital: a randomized trial