Soliton dynamics for the nonlinear Schrodinger equation with magnetic field