The risks and rewards of collaborating with competitors