People with high blood sugar levels are more likely to experience cognitive decline