Attached to a smartphone, the device analyzes VOC-laden air from a separate test tube