relationship between the thyroid and pregnancy