Solenoidal resistive magnet of cylindrical symmetry for NMR/EPR imaging