Distributed Product Flow Control in a Network of Inventories with Stochastic Production and Demand