Photodissociation of NaBr, Nal, and KI vapors and collisional quenching of Na* (3 2P), K* (4 2P), and K* (5 2P) by foreign gases