A low-cost water sensor could stop millions of lives being put at risk