Evaluation of nugget formation in resistance spot welding of dissimilar materials