Pd(II)-Catalyzed cyclogeneration of carbocations: subsequent rearrangement and trapping under oxidative conditions