Efficiency of Joint Enterprises with Internal Bargaining