Effect of magnesium on myocardial ischaemia and reperfusion injury