Japan Nears Iranian Oil Deal as Khatami Visits