Japan and China’s foreign ministers pledge to pursue improved ties