Analytical study of a higher-order Hopf bifurcation in a tritrophic food chain model