Varieties and the transfer problem: the extensive margin of current account adjustment