Superconductivity in diamond, electron–phonon interaction and the zero-point renormalization of semiconducting gaps