impurity resistivity for two phase impurities