thyroid and immune system