Regulating photochemical properties of carbon dots for theranostic applications.