Effects of the COVID-19 Pandemic on the Mental Health of Healthcare Providers: A Comparison of a Psychiatric Hospital and a General Hospital