Transformation of herbicides into dual function quaternary tropinium salts