Spin-torque ferromagnetic resonance measurements of damping in nanomagnets