Divergent intramolecular reactions between phosphines and alkynes