Kinetic energy release in CO fragmentation by electron loss and capture collisions of fast B2+ ions