Transannular rearrangement of activated lactams: stereoselective synthesis of substituted pyrrolidine-2,4-diones from diketopiperazines.