Exciton-induced lattice distortion and excimer formation