Failure of spot welds under in-plane static loading