how iot optimizes supply chain