Label-free sensing of pH and silver nanoparticles using an "OR" logic gate.