Economic development, social structure and population growth