Respiratory effects of surgery and pulmonary function testing in the preoperative evaluation