Construction of muffin-tin potentials for liquid metals