The electronic structure and dipole moment function of PbO (X 1Σ