Six-month clinical course and factors associated with non-improvement in migraine and non-migraine headaches