Patterns of innovation and skills in small firms