Cooling rate predictions and its correlation with grain characteristics during electron beam welding of stainless steel