Properties of buried SiC layers produced by carbon ion implantation in (100) bulk silicon and silicon-on-sapphire