On the effect of ghost force in the quasicontinuum method: dynamic problems in one dimension