Study of Compatibility of a Silicon Drift Detector With a MRI System