Synthesis of 1-alkyl-2-methylazetidin-3-ones and 1-alkyl-2-methylazetidin-3-ols