Generating Functions for Hopf Bifurcation with S_n-Symmetry