Consumption smoothing, risk sharing and financial integration