Diabetes and anxiety adversely affect cognition in multiple sclerosis.