Muffin-tin EMA calculations of electrical resistivity for liquid and amorphous metals