Cyclization of coordinated diazoalkane to alkene and alkyne to afford 3H-pyrazole derivatives