Lewis acid-catalyzed reactions of ethyl diazoacetate with aldehydes. Synthesis of α-formyl esters by a sequence of aldol reaction and 1,2-nucleophilic rearrangement