Temperature dependence of the resistivity and structure of liquid alkali metals