Prediction of migraine attacks using a slow cortical potential, the contingent negative variation