Dimethyl Carbonate as a Sacrificial Molecule for the Synthesis of 5-MemeberedN- andO-Heterocycles