U.S., Japan buy yen together for first time since 1998