Factors associated with cognitive decline in older adults with type 2 diabetes mellitus during a 6‐year observation