Women are more susceptible to autoimmune conditions than men, but also more protected against infections - and we are starting to understand why