Magnetic resonance in the diagnosis of cancer