In situ colorimetric quantification of silver cations in the presence of silver nanoparticles.