Colorimetric detection of ammonia using smartphones based on localized surface plasmon resonance of silver nanoparticles.