HbA1c at the time of testing for gestational diabetes identifies women at risk for pregnancy complications