Japan and South Korea remain apart after a meeting of their foreign ministers but agree to keep dialogue open.