Energy, diversity and development in economic systems; an empirical analysis