Mechanisms of transoxymercuration reactions