Looking after your heart may help prevent cognitive decline