Diabetes in pregnancy can pose health risks for both the mother and baby