Medium-sized rings versus macrocycles through rhodium-catalyzed ring-expansion reactions of cyclic acetals.