Bretton Woods and the legalization of international monetary affairs