Ion implantation in indium phosphide