How firms use cooperative strategies to innovate