Study shows in older people, type 2 diabetes is associated with a decline in brain function over five years