Investigation of the Cycloisomerization of 1,6-Enynes Catalyzed by Gold Nanoparticles with First-Principles Calculations: Mechanism and Selectivity