Risk factors contributing to infection with SARS-CoV-2 are modulated by sex