Monitoring air quality may be as easy as adding a sensor to your phone.