Structural modifications in ion-implanted diamond