Detection of endotracheal tube obstruction by analysis of the expiratory flow signal