Studies toward Lewis basic thiocarbamate and thiourea mediated bromolactonization: the effect of a trace amount of water on the reactivity and enantioselectivity