WASHINGTON — The United States on Thursday joined Britain in formally blaming Russia for a huge cyberattack last June that was aimed at Ukraine but crippled computers worldwide, a highly public naming-and-shaming exercise that could further fray relations with Moscow.