Contracting convex hypersurfaces in Riemannian manifolds by their mean curvature