Heart rate patterns and apnea in newborn infants.