A facile synthesis of pyrazole, isoxazole and pyrimidine ortho-dicarboxylic acid derivatives via beta-enaminoketoesters