Reactions turning hydroxy group into leaving group