Relations between Japan and China have worsened as Beijing builds up its military capacity in the region and Tokyo boosts security ties with the United States and its allies