Theory of segregation kinetics in ternary systems