Grain boundary segregation and diffusion in Ag-S solid solution