Type 2 Diabetes, Risk of Dementia And Cognitive Decline, And The Competing Risk of Mortality Among Middle-Aged And Older Adults