Influence of intermolecular interactions on spectroscopic characteristics of metal nanoparticles and their composites.