Evidence for different photovoltaic mechanisms of photoinduced second-harmonic generation in semiconductor microcrystallite-doped and lead glass