Offshoring and Sequential Production Chains: A General-Equilibrium Analysis