The electrical conductivity of PbF2 and SrCl2 crystals at high temperatures