Coating made of titanium boride