Substrate-Controlled Three-Component Synthesis of Diverse Fused Heterocycles.