In situ resistivity measurements of precursor reactions in the Cu–In–Ga system