Polyesters derived from hydroxycarboxylic acids