The theory of global imbalances: mainstream economics vs. structural Keynesianism