Title: Determinants and Repercussions of the Composition of Capital Inflows