Controls on capital inflows and external shocks - David, Antonio C. (Policy research working paper, 2007)