iPath: Path Inference in Wireless Sensor Networks