Design of cyclic reaction driven by two-color two-photon excitation