MAGNETIZATION SWITCHING AND MICROWAVE OSCILLATIONS IN NANOMAGNETS DRIVEN BY SPIN-POLARIZED CURRENTS