High estradiol and low testosterone levels are associated with critical illness in male but not in female COVID-19 patients: a retrospective cohort study