Composition for the prevention and treatment of migrain or neuropathic pain