Distribution of temperature and residual stresses in GMA-DED based wire-arc additive manufacturing