What's the science behind taking magnesium for headaches?