Transformation of semiconducting tetrahedral carbon films to semimetal nanocomposite materials by ion implantation