Type 2 diabetes may have links to Alzheimer’s, study reveals