Mechanism of swift chemical sputtering: comparison of Be/C/W dimer bond breaking