Relaxation of excitons in ionic halides: a molecular dynamics study†