Product market competition, R&D composition and growth