Large displacement dynamic analysis with frictional contact by linear complementarity formulation