North's Kim will visit Seoul "in the near future", as two Koreas agree to denuclearise the region at a summit.