A 67-year-old man with obesity and loud snoring is referred for assessment of daytime sleepiness and witnessed apnoeas. His Epworth Sleepiness Scale score is 15. Physical examination shows a large neck circumference and crowded oropharynx. What is the most appropriate next investigation?