A 72-year-old man is evaluated for a 1-year history of cough and shortness of breath. He walks approximately 1 mile per day, but it now takes him twice as long as it did last year. He has noted no clear aggravating or ameliorating factors, and he believes his symptoms have steadily increased over the past year. He has not had chest pain, orthopnea, or paroxysmal nocturnal dyspnea.

On physical examination, vital signs are normal; oxygen saturation is 90% breathing ambient air. No jugular venous distention is noted. Pulmonary examination reveals inspiratory crackles at the bases. Cardiac examination is unremarkable.

Chest radiograph is normal. Pulmonary function testing reveals an FEV1 of 68% of predicted, an FVC of 75% of predicted, an FEV1/FVC ratio of 82%, and a DLCO of 83% of predicted. Total lung capacity is 65% of predicted.

Which of the following is the most appropriate diagnostic test to perform next?