The dynamic polarization potential from Coulomb dissociation of deuterons and 3He