The impact of thyroid function and thyroid autoimmunity on embryo quality in women with low functional ovarian reserve: a case-control study