Microprocessor-based system for the measurement and analysis of an expiratory flow-volume curve