Management of complications of diabetes during pregnancy