Age at diagnosis of diabetes, obesity, and the risk of dementia among adult patients with type 2 diabetes