Thyroid autoantibodies, preterm birth, and miscarriage