An H-shaped low-field magnet for NMR spectroscopy designed using the finite element method