Impurity resistivity of the Earth's inner core