Trade policy: Home market effect versus terms-of-trade externality