Preoperative assessment of patients undergoing pulmonary resection.