Cardiac ventricular repolarization and global cognitive performance in a community population: a cross-sectional study