Grain boundary segregation and transformations in Bi-doped polycrystalline copper