Contagion risk has grown due to cross-border investing, study finds