Intelligence-sharing pact between South Korea, Japan takes effect