Water-catalyzed excited-state proton-transfer reactions in 7-azaindole and its analogues.