Toward Data Assimilation of the Solar Wind: Comparison of Variational and Sequential Assimilation for 1D Magnetohydrodynamics Flows