Synthesis of 2,5-piperidinediones. Regioselectivity in the Dieckmann cyclization