The electronic structure of liquid metals