The workplace in the formation of social capital and its spillover effects. An application to the Spanish case