Magnetometry of low-dimensional electron and hole systems