Dzyaloshinskii-Moriya solitons in anisotropic ferromagnetic nanowires driven by magnetic field and spin-polarized current