Schottky-barrier elevation by ion implantation and implant segregation