Cation diffusion, electrical conduction and optical absorption in pure and doped KCI, KI and NaCI crystals