Rapid and low-temperature synthesis of N, P co-doped yellow emitting carbon dots and their applications as antibacterial agent and detection probe to Sudan Red I.