The Theory of Social Revolutions