Variation of the refractive indices of KBr and KI with pressure to 14 kbars