Correlation between structural and functional changes in brain in an idiopathic headache syndrome