Japan, China agree to cooperate over IMF resources