Optical study of the metal-semiconductor transition in BaPb1-xBixO3.