Synthesis of cis-fused pyranopyran and pyranopyridine templates by ring rearrangement metathesis