Spin-polarized current-induced magnetization reversal in single nanowires