International financial crises, term structure of foreign debt and monetary policy in open economies