Galvanic intercalation of molecular cations into van der Waals materials and heterostructures