A combined confocal and magnetic resonance microscope for biological studies