Hypothesis on neurophysiopathological mechanisms linking epilepsy and headache