How a smarter toilet could save millions of lives a year