Doped amorphous and microcrystalline silicon carbide as wide band-gap material