Better sanitation made groundwater safer, says IIT study