Study of the excited-state proton-transfer reaction of 5-cyano-2-naphthol in sub- and supercritical water.