When and with whom to cooperate? Investigating effects of cooperation stage and type on innovation capabilities and success