Foreign investment in Brazil and the international financial markets