Polycondensates having carboxylic or carbonic ester groups in the main chain {containing oxygen in the form of ether groups}