Time-frequency characterization of magnetization dynamics in spin-torque oscillators