A Method for Predicting Postoperative Lung Function and Its Relation to Postoperative Complications in Patients with Lung Cancer