Quasicrossings of potential curves in the two-Coulomb-center problem