Cortical pathology and cognitive impairment in multiple sclerosis