Efficient preparation of nitrogen-doped fluorescent carbon dots for highly sensitive detection of metronidazole and live cell imaging.