Nitrogen-doped carbon dots for sensitive detection of ferric ions and monohydrogen phosphate by the naked eye and imaging in living cells