using magnesium glycinate for headaches