The role of type 2 diabetes in neurodegeneration