Polyesters derived from ester-forming derivatives of polycarboxylic acids or of polyhydroxy compounds, other than from esters thereof