Magnesium pre-treatment reduces neuronal apoptosis in newborn rats in hypoxia–ischemia