Ending the Cold War: the Soviet retreat and the US military buildup