Optical spectroscopy of localized states in metallic oxides