Japan, New Zealand agree on intelligence sharing deal