Analysis of thermally-induced magnetization dynamics in spin-transfer nano-oscillators