The effect of type 2 diabetes mellitus on perioperative neurocognitive disorders in patients undergoing elective noncardiac surgery under general anesthesia. A prospective cohort study