Trends in emergency department visits for mental health disorder diagnoses before and during the COVID-19 pandemic: a retrospective cohort study 2018–2021