Ratiometric detection of p-nitrophenol and its derivatives using a dual-emissive neuron cell-like carbonized probe based on a ππ stacking quenching mechanism.