Heterogeneity in R&D cooperation strategies