A GENERALIZED THEORY OF THE EFFECTS OF TARIFFS ON THE TERMS OF TRADE