Stereo- and regioselectivity of cyclization reactions in conformationally restricted epoxy ketones: evaluation of C-versus O-alkylation process