Maternal hyperthyroidism and pregnancy outcomes: A population‐based cohort study