Coating made of tantalum hydride