Nucleophilic substitution reactions with hydroxide and water