Wear analysis in fretting of hard coatings through a dissipated energy concept