Theoretical analysis of the optical excitation spectra of silver and gold nanowires.