Bifurcating periodic solutions of wind-driven circulation equations