German researchers built a device that clips onto a smartphone and detects water contamination in under one minute—compared to hours or days for traditional lab tests.