China warns neighbours "no compromise" over territorial or historical disputes