An on-line device for the continuous measurement of airway resistance