Did Japan and Germany work closely together prior to 1944?