Stereoselective synthesis of hexahydroindoles and octahydrocyclohepta[b]pyrroles via gold(I)-catalyzed intramolecular 1,4-hydroamination of cyclic 1,3-dienes