Tribological and electrical properties of metal‐containing hydrogenated carbon films