Efficient preparations of acylamides, acylcarbamates and acylureas from alk-1-en-2-yl esters