Cognitive function in type 2 diabetes : relationship to diabetes self management.