Regioselective Ring-Cleavage Reaction of Tetrahydrofurans and Tetrahydropyrans Accompanied by Carbon–Carbon Bond Formation