Hopf bifurcations in the wake of a square cylinder