A 72-year-old man with atrial fibrillation and hypertension presents with sudden onset pleuritic chest pain and haemoptysis. He recently had an elective hip replacement and has been largely immobile. He is tachycardic, mildly hypotensive and hypoxaemic. What is the most appropriate initial investigation to confirm the suspected diagnosis?