MRI of patients with implanted cardiac devices