Baryon-baryon interaction with a flip-flop model for quark confinement: The case of color SU(2)