Temperature Dependence of Dielectric Constants of Crystals with NaCl and CsCl Structure