Blood sugar can raise cognitive risks even without diabetes