Financial Frictions, Financial Integration and the International Propagation of Shocks