Molecular Migdal effect