Ring-opening reactions of trans-carbonates and thionocarbonates