Mortality and associated factors in patients with COVID-19: cross-sectional study