A method for predicting postoperative lung function and its relation to postoperative complications in patients with