Evolution of psychopathology, purpose in life, and moral courage in healthcare workers during the COVID-19 pandemic: a longitudinal study