A particle system with cooperative branching and coalescence