Design of an axisymmetric permanent magnet structure for magnetic resonance tomography