Residual stress in clinched joints of metals