Temperature dependence of the dielectric constant and resistivity of diluted magnetic semiconductors