Workplace factors associated with mental health of healthcare workers during the COVID-19 pandemic: an international cross-sectional study