A thermodynamically consistent derivation of a frictional-damage cohesive-zone model with different mode i and mode II fracture energies