Diagnosis of asthma and COPD