Biodegradable polyesters based on C3 and C4 hydroxyacids