Population, modernization, and social structure