Bifurcation and stability of combined free and forced convection in rotating curved ducts of square cross-section