Theory of Surface Plasmon Excitation in Low-Energy Electron Diffraction and in Photoemission