Determination of plastic properties of weld metals using an optimal regression of tensile and hardness test data