Psychophysiological parameters during mental arithmetic in migraine and chronic tension type headache