Spin-current-induced dynamics in ferromagnetic nanopillars of lateral spin-valve structures