Contributors to cognitive impairment in congestive heart failure: a pilot case–control study