New methods for the diagnosis and monitoring of cognitive function in patients with type 2 diabetes