Democracy and development: An index of democracy