Dual-emission hydrogel nanoparticles with linear and reversible luminescence-response to pH for intracellular fluorescent probes.