1 Heterointerface effects in the electro-intercalation of van der Waals heterostructures