Cardiovascular responses to cognitive stress in patients with migraine and tension-type headache