The effects of cognitive impairment on 9-year mortality in a community sample.