Effect of radiological extent and severity of bronchiectasis on pulmonary function