Cognitive functions and clinical features among diabetic patients in Polish population