On the cyclization of acyliminium salts derived from pyroglutamic acid