Effects of rare earth and tantalum on graphite-like carbon coatings