Impact of the COVID-19 Pandemic on Teacher Quality of Life: A Longitudinal Study from before and during the Health Crisis