UK and Japan sign landmark defense pact in bid to counter China