A 78-year-old man is evaluated for symptoms of dysphagia that began 2 weeks ago. When he eats, he starts coughing after the first bite of food and occasionally has nasal regurgitation.

On physical examination, blood pressure is 135/90 mm Hg, pulse rate is 78/min, and respiration rate is 12/min. Left-sided weakness is noted in both extremities, upper greater than lower.

Which of the following is the most appropriate diagnostic test to evaluate this patient's dysphagia?