Density Functional Calculations of Electronic g-Tensors Using Spin−Orbit Pseudopotentials and Mean-Field All-Electron Spin−Orbit Operators