Trends in the electronic structure of the polyvalent liquid metals