Green synthesis of carbon nanodots from cotton for multicolor imaging, patterning, and sensing