The prognostic importance of lung function in patients admitted with heart failure