Safety aspects of a system for heart stimulation induced by a magnetic pulse