Wearable device could help prevent asthma attacks