Magnetic-field effects on the absorption bands of KBr:Tl and KBr:In