Kinetics and mechanism of photoinduced and thermal proton-transfer processes in o-hydroxybenzaldehyde and o-hydroxyacetophenone. A remarkable temperature dependence of the reaction rate