Type-2 diabetes and risk of dementia: observational and Mendelian randomisation studies in 1 million individuals