Control over excited state intramolecular proton transfer and photoinduced tautomerization: influence of the hydrogen-bond geometry.