Dye-sensitized upconversion nanocomposites for ratiometric semi-quantitative detection of hypochlorite in vivo.