Influence of the Local Field and Dipole-Dipole Interactions on the Spectral Characteristics of Simple Metals and Their Nanoparticles