Energetics of collision between grinding media in ball mills and mechanochemical effects