Chemical Interactions in Metal-Ion-Implanted Fused Silica and Soda-Lime Glasses