A 55-year-old man presents with difficulty swallowing (dysphagia), initially for solids but now progressing to liquids over the past 3 months. He has also lost 5 kg in weight unintentionally. He has a 30 pack-year smoking history and drinks 20 units of alcohol per week. What is the single most appropriate next step?