Formation of negative ions in grazing scattering of neutral atoms from alkali-metal halide (100) surfaces