Dynamics of two-Higgs-doublet CP violation and baryogenesis at the electroweak phase transition.