Relationship between preoperative pulmonary function tests and complications after thoracotomy.