Association between cardiovascular disease and dementia