Chemoselective synthesis of pyrazole derivatives via beta-enamino keto esters