Polyesters derived from dicarboxylic acids and dihydroxy compounds