Assessment of cognitive function in patients with heart failure: impact of clinical and sociodemographic factors | Synapse