Factors influencing the passivation of CdS quantum dots embedded in silica glass