How is the severity of asthma diagnosed?