Influence of electron-phonon interactions on angle-resolved photoelectron spectra from metals