Effects of lung resection on pulmonary function and exercise capacity.