Chemical vapor infiltration and deposition to produce a silicon carbide–carbon functionally gradient material