Union Structure and Firms' Incentives for Cooperative R&D Investments