An input–output model of exchange-rate pass-through