Hopf bifurcation for some analytic differential systems in R^3 via averaging theory