Ion-implantation for defect engineering in silicon