Tokyo and Beijing Agree on Currency Pact