The Social Metabolism: A Socio-Ecological Theory of Historical Change