Industrial structure and financial capital flows Working paper