Contractual incompleteness and the optimality of equity joint ventures