Detecting type 2 diabetes mellitus cognitive impairment using whole-brain functional connectivity