Polyesters containing atoms other than carbon, hydrogen and oxygen containing nitrogen {derived from polycarboxylic acids and polyhydroxy compounds}