Theoretical study of the mechanism and regioselectivity of the 1,3-dipolar cycloaddition of diazomethane with methyl acrylate using theoretical approaches