UK signs first international treaty to implement AI safeguards