The effects of country wealth on the energy mix