Formation of a conducting layer by high energy metal ion implantation into diamond