Spin-torque microwave detectors: Fundamentals and applications