Correlation between heat input and residual stresses from friction stir welding of AA5052 plate