Gold and silver nanoparticles embedded in dielectric-capping layers studied by HAADF-STEM