Legitimacy and Institutional Change in International Organizations: A Cognitive Approach