Influence of heart failure on resting lung volumes in patients with COPD