Minor cognitive impairments in cancer patients magnify the effect of caregiver preferences on end-of-life care.