Stereoselective domino reactions in the synthesis of spiro compounds