Carbon nanospheres with dual-color emission and their application in ratiometric pyrophosphate sensing.