On the energy-momentum tensor in gauge field theories