Single-step conversion of aliphatic, aromatic and heteroaromatic primary amines into piperazine-2,6-diones