On the origin of the visible emission in KBr:Tl and KCl:Tl crystals