Sexual dimorphism in bacterial infections