Size dependence of the optical spectrum in nanocrystalline silver