Theoretical study of PbO and the PbO anion