Rhodamine-modified upconversion nanophosphors for ratiometric detection of hypochlorous acid in aqueous solution and living cells.