International trade under flexible exchange rates