The impact of the COVID-19 pandemic on mental health disorders through the use of real-world data