Pair distribution functions and the electronic properties of liquid and amorphous metals