Diagnosis of obstruction of the upper and central airways