Development and validation of a diagnostic tool for occupational asthma based on serial lung function measurements