Preoperative pulmonary function tests and postoperative cardiopulmonary complications