pH controlled green luminescent carbon dots derived from benzoxazine monomers for the fluorescence turn-on and turn-off detection.