Dynamics of vortices in the Ginzburg-Landau equation