The US and Japan confirmed a rare coordinated yen-buying operation, driving the dollar down sharply from near-164 yen and lifting the Japanese currency to its strongest level in three months.