Pregnancy complications and perinatal outcomes associated with maternal diabetes