Determinants of gestational diabetes mellitus: a case-control study