Coating made of boron carbide