Japan and UK agree on $24 billion deals