Thermally-induced synchronization and stochastic resonance between magnetization regimes in spin-transfer nano-oscillators