Formation of metal nanoclusters in silicate glasses for nonlinear optical applications