What factors caused the collapse of communism in Europe’s and how did that change American foreign policy?