Polyesters containing oxygen in the form of ether groups