Association of Cognitive Function and Retinal Neural and Vascular Structure in Type 1 Diabetes.