Renormalization of the energy-momentum tensor on the lattice