Motion of dinoflagellates in a simple shear flow