Photoinitiated intramolecular ylide-alkene cycloaddition reactions