The Effects of Public R&D Subsidies on Firms' Innovation Activities