The role of magnesium in cardiac arrhythmias