Hopf and zero-Hopf bifurcations for a class of cubic Kolmogorov systems in R3