Facile synthesis of carbon dots derived from ampicillin sodium for live/dead microbe differentiation, bioimaging and high selectivity detection of 2,4-dinitrophenol and Hg(II)