Factors associated with adverse outcome among hospitalized patients with moderate to severe COVID-19