Zero-Hopf bifurcation in the generalized Michelson system