The vector field method and its applications to nonlinear evolution equations