Why did the Cold War come to an end during the 1980s?