Association between covid-19 vaccination, SARS-CoV-2 infection, and risk of immune mediated neurological events