The effect of high pressure on the electronic structure of solids