On the analogy between photoluminescence and carrier-type reversal in Bi- and Pb-doped glasses.