A 24-year-old man is brought to the emergency department after a high-speed motor vehicle collision. He is awake but dyspnoeic. Vital signs: blood pressure 80/50 mm Hg, heart rate 130 beats per minute, respiratory rate 32 breaths per minute, oxygen saturation 86 percent on room air. He has distended neck veins, tracheal deviation to the left, and absent breath sounds on the right. What is the best immediate management?