Local structure and lattice dynamics of alkali halide crystals with an anion vacancy