Modeling friction of tribological composite coatings