how does copd affect ventilation