A novel synthesis of substituted pyrazolone and cinnoline derivatives via intramolecular cyclization reaction of semicarbazone compounds