Hyperandrogenism and insulin resistance induce gravid uterine defects in association with mitochondrial dysfunction and aberrant reactive oxygen species production.