Velocity dependence of the energy loss of very slow proton and deuteron beams in Cu and Ag