Analysis of energy transfer in direct numerical simulations of isotropic turbulence