magnesium and headache