Text this: Assessment of cognitive functions in middle-aged patients with type 2 diabetes