Structural effects on the magnetic character of yttrium-iron-garnet nanoparticles dispersed in glass composites