Segregation of impurities at grain boundaries and other compositional inhomogeneities in chill-casted silicon ingots