Molecular dynamics simulations of ion implantation for the fabrication of a solid-state quantum computer