Coating made of cobalt boride