Characteristics and outcome of unplanned extubation in ventilated preterm and term newborns on a neonatal intensive care unit