Relativistic four-component calculations of electronic g-tensors in the matrix Dirac–Kohn–Sham framework