Co-deposited composite coatings with a ceramic matrix destined for sliding pairs