A study of the electronic structures of Pd2− and Pd2 by photoelectron spectroscopy