Neuropsychological function in type 2 diabetes mellitus