Assessment of the accuracy of long-range corrected functionals for describing the electronic and optical properties of silver clusters.