Calculation of nuclear magnetic resonance shieldings and magnetic susceptibilities using multiconfiguration Hartree–Fock wave functions and local gauge origins