South Korea and Japan sign military intelligence-sharing deal