The effect of heat treatment on the embrittlement of dissimilar welded joints