Detection of asthma and chronic obstructive pulmonary disease in primary care