Why did the cold war end peacefully?