Electron-phonon coupling in halogen-doped carbon clathrates from first principles