A cross-sectional study on coping strategies of frontline healthcare workers amid the COVID-19 pandemic in a developing country