Triple junction segregation in nanocrystalline multilayers