Microanalysis near particles and voids at grain boundaries