Impact of the pandemic on mental health