Sequential analysis for quality control in the neonatal intensive care unit