One-step synthesis of a carbon dot-based fluorescent probe for colorimetric and ratiometric sensing of tetracycline.