Process for preparaing a polymer from mustard carbonate analogues