The preparation of quinolines and related fused-ring heterocycles from the dianions of benzoylacetone, certain cyclic ketone oximes, or certain substituted hydrazones