Pregnancy outcome in pre-gestational and gestational diabetic women: a prospective observational study