In-situ measurements of cobalt segregation in CsCdCl3