Nitrogen-doped carbon dots from polystyrene for three analytes sensing and their logic recognition