Internal capabilities and external networks in innovative activities. Evidence from the software industry