Scientists think they’ve found why chocolates and wine cause migraines for some very unlucky people