Intramolecular (3+2) Cycloaddition Reactivity Between Heteroatom-Substituted Alkynes and Tethered Alkynes: Thermal and Catalytic Routes