An optimization model for stochastic project networks with cash flows