South Korea, Malaysia agree to 3-year currency swap