The choice of partners in R&D cooperation: An empirical analysis of Spanish firms