Impurity Gettering by Implanted Carbon in Silicon