a-SiC:H doped with reactive gases and ion implantation