Psychological impact of the COVID-19 pandemic on healthcare workers: a cross-sectional study in China