Analytical model of ion-implanted diamond surface swelling