Pre-existing cognitive impairment as a factor influencing outcome after cardiac surgery.