Dollar up against yen as Japan’s trade deficit swells