Maternal thyroid profile in first and second trimester of pregnancy is correlated with gestational diabetes mellitus through machine learning