Firm characteristics and the impact of R&D subsidies