Direct measurement and modelling of internal strains in ion-implanted diamond