Electron–Phonon Coupling in Two-Dimensional Superconductors: Doped Graphene and Phosphorene