Intramolecular [2 + 2] cycloaddition and sequential ring expansion