New methods for monitoring lung function in preterm newborns to optimize ventilatory support