Influence of ion implantation on electrical properties of amorphous Ge and Si