Ti–Ni–C nanocomposite coatings evaluated in a sliding electrical contact application