Interference and diffraction in photoelectron spectra