Calculation of dynamic pile bearing capacity based on the displacement during driving