Cohesive-frictional interface in an equilibrium based finite element formulation