Role of magnesium in the pathogenesis and treatment of migraines.