U.S. and British authorities for the first time publicly linked an ex-Russian special forces officer to one of the world’s most notorious ransomware groups, adding further evidence of ties, formal and informal, between Russian intelligence agencies and criminal groups.