Posing Multibody Dynamics with Friction and Contact as a Differential Complementarity Problem