Cognitive impairment after cerebral venous thrombosis: a two-center study