Adverse surgical outcomes among patients with cognitive impairments.