Chemical analyses of grain boundaries in random superconductor/metal composites