Cognitive impairment in relapsing-remitting multiple sclerosis can be predicted by imaging performed several years later