Facile synthesis and versatile applications of amorphous carbon dot