The influence of COVID-19 on the mental health of final-year nursing students: comparing the situation before and during the pandemic