Risk Sharing and Institutional Quality: Evidence from OECD and Emerging Economies