Hopf bifurcation of the class-B multimode laser.