Calculation of the activation energy for surface self-diffusion of transition-metal atoms