Prevention of fetal and neonatal lung immaturity