Higgs sector CP violation at the electroweak phase transition